package com.wangijun.yuan.web.model.dto;

import com.wangijun.yuan.core.domain.UserInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description = "个人中心用户查询参数")
@Getter
@Setter
public class PersonalUserParam extends PageParam<UserInfo> {
    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "关键词")
    private String text;
    @Schema(description = "查询类型")
    private QueryType type;

    @Schema(description = "查询类型")
    public enum QueryType {
        @Schema(description = "关注")
        follow,
        @Schema(description = "粉丝")
        fans,
    }
}
